package com.hgyc.mom.tool.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.hgyc.mom.common.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 自定义报参数
 * </p>
 *
 * @author fwj
 * @since 2025-04-29
 */
@Data
@TableName("tool_custom_report_param")
@Schema(name="自定义报参数对象", description="自定义报参数对象")
public class CustomReportParam implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "")
    private Long id;

    @Excel(name = "报表ID")
    @Schema(description = "报表ID")
    private Long reportId;

    @Excel(name = "参数名")
    @Schema(description = "参数名")
    private String paramName;

    @Excel(name = "参数描述")
    @Schema(description = "参数描述")
    private String paramComment;

    @Excel(name = "默认值")
    @Schema(description = "默认值")
    private String defaultValue;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "")
    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "")
    private LocalDateTime updateTime;

}